package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author chiley
 */
@Data
@TableName("tz_hot_city")
public class HotCity implements Serializable {
    /**
     * 主键
     */
    @TableId
    @Schema(description = "热门城市id")
    private Long hotCityId;

    @NotNull
    @Schema(description = "城市地区id")
    private Long areaId;

    @Schema(description = "城市名称")
    private String areaName;

    @Schema(description = "顺序")
    private Integer seq;

    @Schema(description = "状态 0:禁用 1:启用")
    @NotNull
    private Integer status;

    @Schema(description = "创建时间")
    protected Date createTime;

    @Schema(description = "更新时间")
    protected Date updateTime;
}
